package com.monolithiot.huawei.conf;

import com.monolithiot.huawei.api.ApiClient;
import com.monolithiot.huawei.api.impl.HuaWeiApiClientImpl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 2019/1/10 Create by 郭文梁
 * ApiClientConfigure
 * API配置
 *
 * @author 郭文梁
 * @date 2019/1/10
 */
@Configuration
public class ApiClientConfigure {
    /**
     * 构建API客户端
     *
     * @return API客户端
     */
    @Bean
    public ApiClient apiClient() {
        return new HuaWeiApiClientImpl("qfatZ8F_EcHZI_2OvnGU2QEBsH4a", "rqVpoFgHFYO5Jg3VQoH_Cj3vunwa");
    }
}
